package com.gzhryc.pay.adaptation.weixin.msg.advance_pay;

import java.io.Serializable;
import java.util.List;

public class Collection implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String state;				//USER_PAYING：待支付,USER_PAID：已支付
	private Integer total_amount;		//总收款金额
	private Integer paying_amount;		//待收金额
	private Integer paid_amount;		//已收金额
	private List<CollectionDetails> details;
	
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Integer getTotal_amount() {
		return total_amount;
	}
	public void setTotal_amount(Integer total_amount) {
		this.total_amount = total_amount;
	}
	public Integer getPaying_amount() {
		return paying_amount;
	}
	public void setPaying_amount(Integer paying_amount) {
		this.paying_amount = paying_amount;
	}
	public Integer getPaid_amount() {
		return paid_amount;
	}
	public void setPaid_amount(Integer paid_amount) {
		this.paid_amount = paid_amount;
	}
	public List<CollectionDetails> getDetails() {
		return details;
	}
	public void setDetails(List<CollectionDetails> details) {
		this.details = details;
	}
	
	public static class CollectionDetails implements Serializable{
		
		private static final long serialVersionUID = 1L;
		
		private Integer seq;			//收款序号
		private Integer amount;			//单笔收款金额
		private String paid_type;		//收款成功渠道
		private String paid_time;		//收款成功时间
		private String transaction_id;	//微信支付交易单号
		
		public Integer getSeq() {
			return seq;
		}
		public void setSeq(Integer seq) {
			this.seq = seq;
		}
		public Integer getAmount() {
			return amount;
		}
		public void setAmount(Integer amount) {
			this.amount = amount;
		}
		public String getPaid_type() {
			return paid_type;
		}
		public void setPaid_type(String paid_type) {
			this.paid_type = paid_type;
		}
		public String getPaid_time() {
			return paid_time;
		}
		public void setPaid_time(String paid_time) {
			this.paid_time = paid_time;
		}
		public String getTransaction_id() {
			return transaction_id;
		}
		public void setTransaction_id(String transaction_id) {
			this.transaction_id = transaction_id;
		}
	}
}
